package com.unknowpupil.sell.service;

import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundRequest;
import com.lly835.bestpay.model.RefundResponse;
import com.unknowpupil.sell.dto.OrderDTO;

/**
 * @Classname: PayServer
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/1/1 16:28
 * @Description: 支付
 * @Version: 1.0
 */
public interface PayServer {

    PayResponse create(OrderDTO orderDTO);

    /**
     * 回调
     * @param notifyData
     */
    PayResponse callBack(String notifyData);

    /**
     *
     */
    RefundResponse refound(OrderDTO orderDTO);

}
